package net.mikoo.seals.boss.biz.services;

import java.util.List;

import net.mikoo.seals.boss.common.PageModel;
import net.mikoo.seals.boss.model.Agent;
import net.mikoo.seals.boss.model.AgentQuery;

public interface AgentServices {
	
	/**
	 * 
	 * @param company
	 */
	public void save(Agent agent);

	public void modifyByPrimaryKey(Agent agent);
	
	public Agent loadByPrimaryKey(Long agentId);
	
	public void deleteByPrimaryKey(Long agentId);
	
	public PageModel<Agent> loadByQueryToPage(AgentQuery query);

	public List<Agent> getListByQuery(AgentQuery query);
	
}
